<template>
  <div class="regulatory-page">
    <div class="return" @click="goBack">
      <Icon size="25" color="#000000" name="arrow-left" class="back" />
      <div class="title">
        <p class="text">账号关联</p>
      </div>
    </div>
    <div class="common-container" @click="goToPasswordManagement">
      <div class="left-section">
        <p>QQ账号</p>
      </div>
      <div class="arrow">
        <Icon size="15" color="#808080" name="arrow" />
      </div>
    </div>
    <div class="common-container" @click="goToPasswordManagement">
      <div class="left-section">
        <p>微信账号</p>
      </div>
      <div class="arrow">
        <Icon size="15" color="#808080" name="arrow" />
      </div>
    </div>
    <div class="tips">
      <p>账号绑定后，您可使用该账号快速登录爱宠星球；同时您在QQ、微信内可以直接使用当前爱宠星球账号，系统将为您自动登录。</p>
    </div>
  </div>
</template>

<script>
import {Icon} from "vant";

export default {
  name: "ConnectionView",
  components: {Icon},
  methods:{
    goBack() {
      this.$router.go(-1);
    },
    goToPasswordManagement() {
      this.$router.push('/PasswordView');
    }
  }
}
</script>

<style scoped>
.regulatory-page {
  background-color: #F6F7F9;
  height: 100vh;
}
.return {
  background-color: #FAEAEA;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.back {
  position: absolute;
  left: 10px;
  text-decoration: none;
}
.title {
  display: flex;
  align-items: center;
}
.text {
  margin: 0;
  color: #000000;
  font-size: 16px;
}
.common-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 15px;
  border-bottom: 0.5px solid #e0e0e0;
  cursor: pointer;
}
.left-section {
  display: flex;
  align-items: center;
}
.arrow {
  display: flex;
  align-items: center;
}
.tips
{
  margin-top:10px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 13px;
}
</style>